package com.efesco.service.archives;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.efesco.common.CommUtil;
import com.efesco.system.ClientRightControl;

/**
 * V_employee_file_query_detailViewModel
 */
public class V_employee_file_query_detailViewModel extends DefaultViewModel {
  protected void initControls()
      throws Exception {
    super.initControls();
    String id="ARCHIVES_FILE_MODIFY";

	Control control=this.getControl(id);

	ClientRightControl clientRightControl=new ClientRightControl();	

	clientRightControl.rightControl(id, control,DoradoContext.getContext());

  }

  protected void doUpdateData(ParameterSet parameters, ParameterSet outParameters)
  throws Exception {
	  
	//System.out.println("dfdf");
	  Dataset ds=getDataset("dataset_file_query"); 
	//  CommUtil.testDataset(ds);
	  CommUtil.doUpdateData(ds,"s_archives_file_manage","ARCHIVES_FILE_MANAGE_ID");
	  
   // super.doUpdateData(parameters);
  }

}
